package com.sit.estatemanagementserver.service;

import com.sit.estatemanagementserver.dao.RoomDao;
import com.sit.estatemanagementserver.enity.Room;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FeeQueryService {
    @Autowired
    private RoomDao roomDao;

    public Room getBalanceByRoomNumber(String roomNumber) {
        // 无需修改，逻辑保持不变
        return roomDao.getRoom(roomNumber);
    }
}